package com.vastcom.sigma.admin.service;


import com.vastcom.sigma.admin.conf.AdminFeiginConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Repository
@FeignClient(name = "tyauthcenter",configuration={AdminFeiginConfig.class})
public interface AuthAdminService {

    @PostMapping("/manage/getticket")
    public String getticket(@RequestParam("userid") String userid);


}
